package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.AdminRole;

import java.util.List;

/**
 * @author 杨林
 * @create 2022-09-29 9:50 星期四
 * description:
 */

public interface AdminRoleDao extends BaseDao<AdminRole> {

    List<Long> findRoleIdsByAdminId(Long adminId);

    void deleteByAdminId(Long adminId);
}
